import axios from "@/axios"

//获取菜单栏
export function loadSort (data) {
    return axios.post("/loadSort", data)
}
//编辑分类
export function postUpdateSort (data) {
    return axios.post("/updateSort", data)
}

//删除分类
export function deleteCategory (data) {
    return axios.post(`/delSort`, data)
}

//新增分类
export function addCategory (data) {
    return axios.post("/addSort", data)
}